package com.group.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户
 *
 * @author zhaolei
 */
public class User implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 846598815716517951L;

    private Long id;

    /**
     * 姓名,昵称
     */
    private String name;

    private String province;

    private String city;

    private String country;

    /**
     * 个人余额
     */
    private String num;

    /**
     * 签名
     */
    private String sign;

    /**
     * 微信服务号openid
     */
    private String openid;

    /**
     * app的openid
     */
    private String appOpenid;

    /**
     * 千言openid
     */
    private String qyOpenid;

    /**
     * wecc的openid
     */
    private String weccOpenid;

    private String unionid;

    /**
     * 小说阅读的id
     */
    private String readerId;

    private String uuid;

    /**
     * 性别 1 男,2 女 , 0 人妖
     */
    private String sex;

    /**
     * 头像
     */
    private String headimage;

    /**
     * 关注行业
     */
    private String industry;

    /**
     * 手机
     */
    private String tel;

    /**
     * 微信
     */
    private String wx;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 背景图片
     */
    private String backgroundImage;

    /**
     * 发表数
     */
    private Integer topicCount;

    /**
     * 评论数
     */
    private Integer topicReplyCount;

    /**
     * 关注数
     */
    private Integer followCount;

    /**
     * 粉丝数
     */
    private Integer fansCount;

    /**
     * 文章数
     */
    private Integer newsCount;

    /**
     * 是否关注
     */
    private Boolean isLike;

    /**
     * 作者,普通用户,后台用户
     */
    private String type;

    /**
     * 算力
     */
    private Double capacity;

    /**
     * 是否是机器人 0 ,不是 1 是
     */
    private Integer isRobot;

    /**
     * -1 未认证,0 认证中, 1通过 2认证不通过
     */
    private Integer verifyStatus;

    /**
     * 竞猜对
     */
    private Integer win;

    /**
     * 竞猜错
     */
    private Integer loss;

    /**
     * 胜率
     */
    private Double winRate;

    /**
     * 盈利
     */
    private Double profit;

    /**
     * 渠道
     */
    private Integer channel;

    /**
     * 用户用于竞猜的wecc
     */
    private Double casinoWecc;

    private Date createTime;

    /**
     * 冻结状态0 正常 1 冻结
     */
    private Integer freezeStatus;

    /**
     * 连续打卡次数
     */
    private Integer clikinCount;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public Integer getWin() {
        return win;
    }

    public void setWin(Integer win) {
        this.win = win;
    }

    public Integer getLoss() {
        return loss;
    }

    public void setLoss(Integer loss) {
        this.loss = loss;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUuid() {
        return uuid;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public Integer getFreezeStatus() {
        return freezeStatus;
    }

    public void setFreezeStatus(Integer freezeStatus) {
        this.freezeStatus = freezeStatus;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHeadimage() {
        return headimage;
    }

    public void setHeadimage(String headimage) {
        this.headimage = headimage;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getWx() {
        return wx;
    }

    public void setWx(String wx) {
        this.wx = wx;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Integer getTopicCount() {
        return topicCount;
    }

    public void setTopicCount(Integer topicCount) {
        this.topicCount = topicCount;
    }

    public Integer getTopicReplyCount() {
        return topicReplyCount;
    }

    public void setTopicReplyCount(Integer topicReplyCount) {
        this.topicReplyCount = topicReplyCount;
    }

    public Integer getFollowCount() {
        return followCount;
    }

    public void setFollowCount(Integer followCount) {
        this.followCount = followCount;
    }

    public Integer getFansCount() {
        return fansCount;
    }

    public void setFansCount(Integer fansCount) {
        this.fansCount = fansCount;
    }

    public Boolean getIsLike() {
        return isLike;
    }

    public void setIsLike(Boolean isLike) {
        this.isLike = isLike;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getNewsCount() {
        return newsCount;
    }

    public void setNewsCount(Integer newsCount) {
        this.newsCount = newsCount;
    }

    public Double getCapacity() {
        return capacity;
    }

    public void setCapacity(Double capacity) {
        this.capacity = capacity;
    }

    public String getAppOpenid() {
        return appOpenid;
    }

    public void setAppOpenid(String appOpenid) {
        this.appOpenid = appOpenid;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public Integer getIsRobot() {
        return isRobot;
    }

    public void setIsRobot(Integer isRobot) {
        this.isRobot = isRobot;
    }

    public Double getWinRate() {
        return winRate;
    }

    public void setWinRate(Double winRate) {
        this.winRate = winRate;
    }

    public Double getProfit() {
        return profit;
    }

    public void setProfit(Double profit) {
        this.profit = profit;
    }

    public String getQyOpenid() {
        return qyOpenid;
    }

    public void setQyOpenid(String qyOpenid) {
        this.qyOpenid = qyOpenid;
    }

    @Override
    public boolean equals(Object obj) {
        User user1 = (User) obj;
        if (this.id == user1.getId().longValue())
            return true;
        return false;
    }

    public String getBackgroundImage() {
        return backgroundImage;
    }

    public void setBackgroundImage(String backgroundImage) {
        this.backgroundImage = backgroundImage;
    }

    public Integer getVerifyStatus() {
        return verifyStatus;
    }

    public void setVerifyStatus(Integer verifyStatus) {
        this.verifyStatus = verifyStatus;
    }

    public Double getCasinoWecc() {
        return casinoWecc;
    }

    public void setCasinoWecc(Double casinoWecc) {
        this.casinoWecc = casinoWecc;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public String getWeccOpenid() {
        return weccOpenid;
    }

    public void setWeccOpenid(String weccOpenid) {
        this.weccOpenid = weccOpenid;
    }

    public String getReaderId() {
        return readerId;
    }

    public void setReaderId(String readerId) {
        this.readerId = readerId;
    }

    public Integer getClikinCount() {
        return clikinCount;
    }

    public void setClikinCount(Integer clikinCount) {
        this.clikinCount = clikinCount;
    }
}
